package com.ollobot.authorization.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotBlank;

/**
 * 用户名密码登录请求
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UsernamePasswordLoginRequest {
    
    /**
     * 用户名（邮箱）
     */
    @NotBlank(message = "Username is required")
    private String username;
    
    /**
     * 密码
     */
    @NotBlank(message = "Password is required")
    private String password;
}
